package com.lyz.objectd2;

/**
 * @ClassName Tortoise
 * @Description 乌龟类
 * @Author 2214361854
 * @Date 2022/2/19 13:16
 * @Version 1.0
 */
public class Tortoise extends Animal{
    public String name = "子类，乌龟";
    @Override
    public void run() {
        System.out.println("乌龟跑的慢~~~");
    }
    public void lookDoor(){
        System.out.println("冬眠");
    }
}
